#include "Light.h"

Light::Light() :
	color(1.0f, 1.0f, 1.0f),
	ambientIntensity(1.0f),
	diffuseIntensity(0.0f)
{

}

Light::Light(GLfloat shadowWidth, GLfloat shadowHeight,
	GLfloat red, GLfloat green, GLfloat blue, GLfloat aIntensity, GLfloat dInstensity) :
	color(red, green, blue),
	ambientIntensity(aIntensity),
	diffuseIntensity(dInstensity)
{
	shadowMap = new ShadowMap();
	shadowMap->Init(shadowWidth, shadowHeight);
}

Light::~Light() {}
